Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix factor in adjoint gradient from symmetry #1527

Merged
merged 3 commits into from
Mar 11, 2021
Merged

Conversation

mochen4
Copy link
Collaborator

@mochen4 mochen4 commented Mar 10, 2021

Fix the factor when using symmetry in simulation

@mochen4 mochen4 changed the title fix factor from symmetry fix factor of adjoint gradient from symmetry Mar 10, 2021
@mochen4 mochen4 changed the title fix factor of adjoint gradient from symmetry fix factor in adjoint gradient from symmetry Mar 10, 2021
src/vec.cpp Show resolved Hide resolved
@smartalecH
Copy link
Collaborator

Maybe add a test to python/tests/adjoint_solver.py?

We actually don't have any far field adjoint tests yet.

I would also make sure you're based off master.

@stevengj stevengj merged commit fce7a45 into NanoComp:master Mar 11, 2021
@mochen4 mochen4 deleted the symfix branch March 25, 2021 17:22
bencbartlett pushed a commit to bencbartlett/meep that referenced this pull request Sep 9, 2021
* slight clean up meep.i

* symfix

* use ivec

Co-authored-by: Mo Chen <mochen@MacBook-Pro-2.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants